#include "splitline.h"

#include <QPainter>

SplitLine::SplitLine(int length)
{
    m_length = length;
    setFixedSize(length, 10);
}

void SplitLine::paintEvent(QPaintEvent *)
{
    QPainter p(this);

    p.setPen(QColor(0, 0, 0, 20.4));
    p.drawLine(0, height() / 2, m_length, height() / 2);

    return;
}
